package com.example.springbootmybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("users") // 对应数据库表名
public class User {
    @TableId // 主键注解
    private Long id;
    private String name;
    private Integer age;
    private String email;
}
